package com.dz.lm.dao.order.write;

import java.util.Map;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.WriterRepository;
import com.dz.lm.domain.order.Order;

@WriterRepository("writeOrderDao")
public interface OrderDao{
	/**
	 * 新增订单记录
	 */
    Long addOrder(Map<String, Object> param) throws DaoException;
	/**
	 * 新增订单记录
	 */
    Long addOrder(Order order) throws DaoException;
	/**
	 * 更新订单记录
	 */
    Long updateOrder(Map<String, Object> param) throws DaoException;
}